package AbstractFactoryPattern;

public class FactoryProducer {
    public static AbstractFacoty getFactory(String choice){
        if(choice.equals("shape")){
            return new ShapeFactory();
        }else if(choice.equals("color")){
            return new ColorFactory();
        }
        return null;
    }
}
